package templates;

import processing.core.*;
import processing.opengl.*;

@SuppressWarnings({ "serial", "unused" })
public class OpenGLAppletTemplate extends PApplet{
	//Get screen resolution
	public final int WIDTH = 800;
	public final int HEIGHT = 600;
	
	//Set default background
	public final int BACKGROUNDCOLOR = color(255,255,255);

	public void setup() {
		size(WIDTH, HEIGHT, OPENGL);
		background(BACKGROUNDCOLOR);
	}
	
	public void draw() {
		background(BACKGROUNDCOLOR);
	}
	
	/***Event handlers***/
	public void mousePressed() {
		  if (mouseButton == LEFT) {
		  } else if (mouseButton == RIGHT) {
		  } else {
		  }
	}
	
	public void mouseReleased()	{		
	}
	
	public void mouseMoved() {
	}
	
	public void mouseDragged() {
	}	
	
	public void keyPressed(){	
	}
}
